package com.iflytek.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iflytek.entity.Student;

import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 周超
 * @since 2025-05-29
 */
public interface IStudentService extends IService<Student> {

    boolean addStudentFace(String name, String className, MultipartFile file);

    /**
     * 批量导入学生信息
     *
     * @param file Excel文件
     * @return 导入成功的学生数量
     */
    int importStudentInfo(MultipartFile file);

    Student findByPersonId(String personId);
}
